package com.sskj.lib.bean;

import android.arch.persistence.room.Embedded;
import android.arch.persistence.room.Entity;

import java.io.Serializable;

import javax.annotation.Nullable;

/**
 * Created by lv on 18-5-7.
 */
@Entity(primaryKeys = {"id"})
public class UserData implements Serializable {


    @Nullable
    private Integer id;
    private String account;
    private String area_code;
    private String phone;
    private String name;
    private String nickname;
    private String avatar;
    private int account_type;
    private int super_user;
    private int super_level;
    private int community_level;
    private int recommend_uid;
    private int stoped;
    private int authentication;
    private String shop_money;
    private int is_trans;
    private int is_shop;
    private String created_at;
    private String updated_at;
    private String refuse_reason;
    private int super_at;
    private String upgradeSuperUserMoney;
    @Embedded
    private ConfigBean config;
    @Embedded
    private QianbaoBean qianbao;
    @Embedded
    private BibiBean bibi;
    @Embedded
    private FabiBean fabi;

    public String getUpgradeSuperUserMoney() {
        return upgradeSuperUserMoney;
    }

    public void setUpgradeSuperUserMoney(String upgradeSuperUserMoney) {
        this.upgradeSuperUserMoney = upgradeSuperUserMoney;
    }

    public QianbaoBean getQianbao() {
        return qianbao;
    }

    public void setQianbao(QianbaoBean qianbao) {
        this.qianbao = qianbao;
    }

    public BibiBean getBibi() {
        return bibi;
    }

    public void setBibi(BibiBean bibi) {
        this.bibi = bibi;
    }

    public FabiBean getFabi() {
        return fabi;
    }

    public void setFabi(FabiBean fabi) {
        this.fabi = fabi;
    }

    @Nullable
    public Integer getId() {
        return id;
    }

    public void setId(@Nullable Integer id) {
        this.id = id;
    }

    public String getRefuse_reason() {
        return refuse_reason;
    }

    public void setRefuse_reason(String refuse_reason) {
        this.refuse_reason = refuse_reason;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getArea_code() {
        return area_code;
    }

    public void setArea_code(String area_code) {
        this.area_code = area_code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getAccount_type() {
        return account_type;
    }

    public void setAccount_type(int account_type) {
        this.account_type = account_type;
    }

    public int getSuper_user() {
        return super_user;
    }

    public void setSuper_user(int super_user) {
        this.super_user = super_user;
    }

    public int getSuper_level() {
        return super_level;
    }

    public void setSuper_level(int super_level) {
        this.super_level = super_level;
    }

    public int getCommunity_level() {
        return community_level;
    }

    public void setCommunity_level(int community_level) {
        this.community_level = community_level;
    }

    public int getRecommend_uid() {
        return recommend_uid;
    }

    public void setRecommend_uid(int recommend_uid) {
        this.recommend_uid = recommend_uid;
    }

    public int getStoped() {
        return stoped;
    }

    public void setStoped(int stoped) {
        this.stoped = stoped;
    }

    public int getAuthentication() {
        return authentication;
    }

    public void setAuthentication(int authentication) {
        this.authentication = authentication;
    }

    public String getShop_money() {
        return shop_money;
    }

    public void setShop_money(String shop_money) {
        this.shop_money = shop_money;
    }

    public int getIs_trans() {
        return is_trans;
    }

    public void setIs_trans(int is_trans) {
        this.is_trans = is_trans;
    }

    public int getIs_shop() {
        return is_shop;
    }

    public void setIs_shop(int is_shop) {
        this.is_shop = is_shop;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public int getSuper_at() {
        return super_at;
    }

    public void setSuper_at(int super_at) {
        this.super_at = super_at;
    }

    public ConfigBean getConfig() {
        return config;
    }

    public void setConfig(ConfigBean config) {
        this.config = config;
    }
}
